From: Giovanni Campagna Date: Fri, 11 Jan 2013 14:56:28 +0000 (+0100) Subject: Telepathy: lookup PATH when launching empathy-accounts X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5090 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2679be9d974bbfc07b6828bfc9bb5584167bb87f;p=gnome-shell.git Telepathy: lookup PATH when launching empathy-accounts It might be installed only in the jhbuild path. https://bugzilla.gnome.org/show_bug.cgi?id=691553 --- diff --git a/js/ui/components/telepathyClient.js b/js/ui/components/telepathyClient.js index 8ebcd2a41..440655c58 100644 --- a/js/ui/components/telepathyClient.js +++ b/js/ui/components/telepathyClient.js @@ -1346,9 +1346,8 @@ const AccountNotification = new Lang.Class({ this.connect('action-invoked', Lang.bind(this, function(self, action) { switch (action) { case 'view': - let cmd = '/usr/bin/empathy-accounts' - + ' --select-account=%s' - .format(account.get_path_suffix()); + let cmd = 'empathy-accounts --select-account=' + + account.get_path_suffix(); let app_info = Gio.app_info_create_from_commandline(cmd, null, 0); app_info.launch([], global.create_app_launch_context()); break;